#pragma once

#include <QMainWindow>
#include <QMovie>
#include <QLabel>

#pragma once

#include <QMainWindow>

class QPushButton;
class QMovie;  // 用于处理GIF

class StartWindow : public QMainWindow {
    Q_OBJECT

public:
    explicit StartWindow(QWidget *parent = nullptr);
    ~StartWindow();

private slots:
    void onStartClicked();
    void onUsageClicked();
    void onHelpClicked();

signals:
    void requestSwictchToFunctionSelect();

private:
    QPushButton *btnUsage;
    QPushButton *btnStart;
    QPushButton *btnHelp;
    QLabel *backgroundLabel;  // 背景标签暂未使用
    QMovie *backgroundMovie;  // 背景动图暂未使用

    void setupUi();
    void setupBackgroundGif(const QString &gifPath);
};


